package com.cn.mmd.mapper;

import com.cn.mmd.model.StudentCourseRubLesson;
import com.cn.mmd.model.StudentCourseRubLessonExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface StudentCourseRubLessonMapper {
    int countByExample(StudentCourseRubLessonExample example);

    int deleteByExample(StudentCourseRubLessonExample example);

    int insert(StudentCourseRubLesson record);

    int insertSelective(StudentCourseRubLesson record);

    List<StudentCourseRubLesson> selectByExample(StudentCourseRubLessonExample example);

    int updateByExampleSelective(@Param("record") StudentCourseRubLesson record, @Param("example") StudentCourseRubLessonExample example);

    int updateByExample(@Param("record") StudentCourseRubLesson record, @Param("example") StudentCourseRubLessonExample example);

    List<StudentCourseRubLesson> countByGrade(StudentCourseRubLesson studentCourseRubLesson);

    List<StudentCourseRubLesson>  countByType(StudentCourseRubLesson studentCourseRubLesson);

    List<StudentCourseRubLesson>  selectByStuId(StudentCourseRubLesson studentCourseRubLesson);

    StudentCourseRubLesson selectByStuIdCouId(StudentCourseRubLesson studentCourseRubLesson);

    List<StudentCourseRubLesson> selectByCouId(StudentCourseRubLesson studentCourseRubLesson);

    int deleteByStuIdCouId(StudentCourseRubLesson studentCourseRubLesson);

    int deleteByCouId(String couId);
}